package org.example.mapper;

import org.apache.ibatis.annotations.Select;
import org.example.pojo.Orderdetail;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrdersdetailMapper {

    @Select("select * from orderdetail where orders_id = #{orderId} ")
    List<Orderdetail> selectByOrdersId(Integer ordersId);
}
